package com.example.ware.model.vo;

import com.example.ware.model.po.Access;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Data
@Component
public class RecordVo {
    private String id;//record唯一值
    private String username;//员工名称
    private String name;//执行的事件类型
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date entrytime;//提交进去时间时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date subtime;//提交表单时间
    private String did; //对应申请表的id
    private List<AccessVo> accessVoList;

}
